package cn.kgc.crowdfundingadminspringboot02.service;

import cn.kgc.crowdfundingadminspringboot02.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {

    public Admin selectById(Integer id);
//    登錄
    public Admin login(String loginAcct, String userPswd);
    //分页查询
    public PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
    //删除
    public void batchRemove(List <Integer> adminIdList);
    //添加
    public void saveAdmin(Admin admin);
    //详情
    public Admin getAdminById(Integer adminId);
    //修改
    public void updateAdmin(Admin admin);
}
